-- GENERATED SPELL FOR [Nerub'ar Venomspitter] --


function spell0_24563(pUnit, Event) --@Venom Spit,n/a--
pUnit:FullCastSpellOnTarget(6917,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24563', 12500, 1)
end

function Sorts_24563(pUnit, Event)
local choix_sorts_24563 = math.random(0, 0)
if choix_sorts_24563 == 0 then
pUnit:RegisterEvent('spell0_24563', 1, 1)
end
end

function mob24563_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24563', math.random(1500, 3000), 1)
end

function mob24563_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24563_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24563_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24563, 1, 'mob24563_Action')
RegisterUnitEvent(24563, 2, 'mob24563_Leave')
RegisterUnitEvent(24563, 3, 'mob24563_Kill')
RegisterUnitEvent(24563, 4, 'mob24563_Die')
